<include file='Public:header' />
				
				<ul class="breadcrumb breadcrumb-main">
					<div class="btn-toolbar">
						<a class="btn btn-inverse btn btn-large btn-primary" href="__APP__/Novel/add">添加小说</a>
						<a class="btn btn-cm btn btn-large btn-primary" href="__APP__/Novel/index">所有小说</a>
						<a class="btn btn-cm btn btn-large btn-primary" href="__APP__/Vol/index/id/<{$novelinfo.id}>">查看分卷</a>
						<a class="btn btn-cm btn btn-large btn-primary" href="__APP__/Vol/add/id/<{$novelinfo.id}>">添加分卷</a>
						<a class="btn btn-cm btn btn-large btn-primary" href="__APP__/Chapter/index/id/<{$novelinfo.id}>">查看内容</a>
						<a class="btn btn-cm btn btn-large btn-primary" href="__APP__/Chapter/add/id/<{$novelinfo.id}>">添加内容</a>
					</div>
				</ul>
				<!-- post wrapper -->				
				<div class="row-fluid">
					
					<div class="span6">
						
						
						<!-- widget -->
						<div class="well widget">
							<!-- widget header -->
							<div class="widget-header">
								<h3 class="title"><B><{$novelinfo.novelname}></B>分卷列表</h3>
							</div>
							<!-- ./ widget header -->
							
							<!-- widget content -->
							<div class="widget-content">
								<table class="table table-hover">
									<thead>
										<tr>
											<th>分卷 ID</th>
											<th>分卷名称</th>
											<th>所属小说</th>
											<th>操作</th>
										</tr>
									</thead>
									<tbody>
									<volist name='data' id='v'>
										<tr>
											<td><{$v.id}></td>
											<td><{$v.volname}></td>
											<td><{$novelinfo.novelname}></td>
											<td> <a class="btn btn-small  btn-primary" href="__URL__/edit/id/<{$novelinfo.id}>/v/<{$v.id}>">修改</a>  
											<a  class="btn btn-mini  btn-primary" href="__URL__/del/id/<{$novelinfo.id}>/v/<{$v.id}>" onclick="return confirm('确定删除小说<{$novelinfo.novelname}>的分卷<{$v.volname}>吗？')">删除</a> </td>
											
										</tr>
									</volist>
										
									</tbody>
								</table>
							</div>
							<!-- ./ widget content -->
						</div>
						<!-- ./ widget -->
						
						
						
					</div>
				</div>
				<!-- ./ post wrapper -->
			</div>
			<!-- end main content -->	
	
<include file='Public:footer' />